package com.qk.manangement.service;

import com.qk.common.response.ClueByIdResponse;
import com.qk.common.response.PageResult;
import com.qk.common.response.Result;
import com.qk.entity.pojo.Clue;
import com.baomidou.mybatisplus.extension.service.IService;
import com.qk.entity.request.clue.ClueUpdateRequest;
import com.qk.entity.request.clue.FalseClueRequest;

/**
 *
 */
public interface ClueService extends IService<Clue> {

    PageResult<Clue> PageList(Integer clueId, String phone, Integer status, Integer channel, String assignName, Integer page, Integer pageSize);

    boolean add(Clue clue);

    boolean assign(Integer clueId, Integer userId);

    boolean falseClue(Integer id, FalseClueRequest falseClueRequest);

    boolean toBusiness(Integer id);

    ClueByIdResponse getByIdMy(Integer id);

    boolean updateClue(ClueUpdateRequest clueUpdateRequest);


    PageResult PagePoolList(Integer clueId, String phone, Integer channel, Integer page, Integer pageSize);
}
